@media screen and (max-width: 519px){

.sp{
    display:block;
    visibility:visible;
}
.pc{
    display:none;
    visibility:hidden;
}
.word_wrap{
    word-wrap:break-word;
    word-break:break-all;
}
#footer a {
    font-size: 12px;
}
#footer .nav1_sp a {
    font-size: 14px;
}

#head_top{
    width:100%;
    background-color:#0072ab;
    border-bottom:1px solid #FFF;
    padding-bottom:7px;
    color:#FFF;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
    padding:0 0px 3px 0px;
}
#head_top h1{
    padding-top: 11px;
    padding-bottom: 10px;
    padding-left: 0px;
    width: 133px;
}
#head_top .right{
    width:50%;
    padding-top:3px;
    font-size:13px;
    padding-right:0px;
}
#head_top .right .sp_nav ul{
    position:relative;
    z-index:999;
}
#head_top .right .sp_nav ul li{
    float:right;
    margin-left:15px;
    font-size:7px;
    padding-top:4px;
    line-height:1;
    position:relative;
}
#head_top .right .sp_nav ul li:last-child{
    margin-left:0px;
}
#head_top .right .sp_nav ul.after_login{
    /*display:none;*/
}
#head_top .right .sp_nav ul li a{
    display:block;
    background:no-repeat center top;
    background-size:auto 19px;
    padding-top:22px;
}
#head_top .right .sp_nav ul li.menu a{
    background-image:url(/img/icon_menu.png);
}
#head_top .right .sp_nav ul li.login a{
    background-image:url(/img/icon_login.png);
}
#head_top .right .sp_nav ul li.regist a{
    background-image:url(/img/icon_regist.png);
}
#head_top .right .sp_nav ul li.first a{
    background-image:url(/img/icon_first.png);
}
#head_top .right .sp_nav ul li.logout a{
    background-image:url(/img/icon_logout.png);
}
#head_top .right .sp_nav ul li.mypage a{
    background-image:url(/img/icon_mypage.png);
}
#footer .nav1_sp p.logout{
	background:url(/img/icon_logout.png) no-repeat;
	background-position:0px 13px;
    padding-top:10px;
    padding-left: 20px;
}
#footer .nav1_sp p.login{
	background:url(/img/icon_login.png) no-repeat;
	background-size: 13px;
	background-position:0px 10px;
    padding-top:10px;
    padding-left: 20px;
}
#head_search .wrap {
   padding-top: 11px;
   padding-left: 8px;
   margin-bottom: -22px;
}
#head_search .wrap .box {
   padding-left: 8px;
   padding-right: 8px;
   padding-top: 6px;
   padding-bottom: 6px;
   height: auto;
}
#head_search_no_top .wrap .box {
	height: auto;
    padding-bottom: 6px;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 6px;
}
#head_search_no_top .box{
    padding:4px 12px;
    background-color:#f6f6f6;
    border:2px solid #72b9ff;
    height:auto;
    width:100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
    margin-top: -48px;
    margin-bottom: -10px;
}
#head_search .box.left .input, #head_search_no_top .box.left .input {
    position: relative;
    width: 100%;
}
#head_search_no_top .box.left .input{
    position:relative;
    width:96%;
}
#head_search_no_top .box.left .input input[type="search"]{
    margin-right: 40px;
    font-size: 12px;
    padding-right: 0px;
    width: 88%;
}
#head_search_no_top .text {
    font-size: 11px;
    padding-top: 10px;
    float: none;
}
#head_search_no_top .box.left .hotkey {
    font-size: 11px;
    padding-top: 0px;
    line-height: 1.3em;
}

#head_search_no_top .box.left .hotkey a {
    margin-right: 3px;
}
#head_search_no_top .box.left .input input[type="submit"]{
    right: 0;
    background-size: auto 12px;
    height: 24px;
    width: 30px;
}
#head_search .wrap p.hotkey {
    font-size: 11px;
}

#contents_right .side_box p.title.sp img {
    height: auto;
    width: auto;
}
#contents_left .main_box h2 img{
    padding: 0;
}
#contents_left .main_box .title_area.sp2 {
    background-image: url("/img/cyd/next_title_cyd.png");
    height: 32px;
    left: 0;
    padding-bottom: 0;
    padding-left: 15px;
    padding-right: 0;
    padding-top: 10px;
    position: absolute;
    top: 0;
    width: 185px;
}
#contents_left .main_box .cyd_list ul li em {
	display: block;
	height: 16px;
	color: #333333;
}
#contents_left .box_cyd p.title {
    padding-left: 12px;
}
#contents_left .box_cyd .view_document {
    margin-left: 4px;
}
#contents_left .box_cyd {
	left:-6px;
    padding-bottom: 3px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 6px;
    width: 103%;
}
#contents_left .box_cyd .slide {
    overflow-x: scroll;
    height: 95px;
    margin-top: 4px;
}
#contents_left .box_cyd .view_document table tr .td {
    width: 61px;
    height: 61px;
    margin-bottom: 2px;
}
#contents_left .box_cyd .view_document table tr td {
    padding-left: 5px;
    padding-right: 5px;
    height: auto;
}
#contents_left .box_cyd .view_document table tr td a p{
   font-size: 11px;
   width: 68px;
   height: 20px;
   overflow: hidden;
}
#contents_right_fist .side_box{
    width:100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
    border:2.5px solid #f0f0f0;
    margin-bottom:15px;
}
#contents_right_fist {
    width: 100%;
}
#contents_right_fist .side_box p.title img {
    height: 16px;
}
#contents_right_fist .side_box p.title{
    background-image: url("/img/cyd/next_title_cyd_sp.png");
    background-size: 150px 29px;
    background-repeat : no-repeat;
    height: 30px;
    left: -3px;
    padding-bottom: 0;
    padding-left: 6px;
    padding-right: 0;
    padding-top: 6px;
    position: absolute;
    top: 0px;
    width: 202px;
}
#contents_right_fist .side_box p.title {
   top: 0px;
}	
.cyd_ranking .main {
    padding-top: 38px;
}
#contents_left .main_box h2 {
    background-image: url("/img/cyd/next_title_cyd_sp.png");
    background-size: 150px 29px;
    background-repeat : no-repeat;
    height: 30px;
    left: -3px;
    padding-bottom: 0;
    padding-left: 6px;
    padding-right: 0;
    padding-top: 5px;
    position: absolute;
    top: 0px;
    width: 202px;
}
#contents_left .main_box h2 img{
   height: 18px;
}
.title_area1, .title_area2 {
    border-bottom:5px solid #cccccc;
    padding-top: 40px;
    font-size:16px;
    color: #333333;
    padding-left:0px;
    line-height:25px;
    margin-top: -5px;
}
.title_area1 p.title{
    font-weight:bold;
}
#contents_left .main_box .cyd_list {
    padding-top: 45px;
}
#contents_left .main_box .title_area {
    background-color:#0a8bcb;
    position:relative;
    width:100%;
    height:50px;
    text-align:center;
    padding:0 3px 3px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
.title_area p.title{
    font-size:16px;
    font-weight:bold;
    padding-left:0px;
    line-height:25px;
    margin-top: 5px;
    background-color: none;
    border: none;
}
#contents_right .side_box{
    width:100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
    border:2.5px solid #f0f0f0;
    margin-bottom:11px;
}
#contents_right .side_box p.title.sp {
    position:absolute;
    top:0px;
    left:0px;
    width:200px;
    height:30px;
    background-image:url(/img/next/next_title_right_sp.png);
    background-size:200px 30px;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
    padding:6px 0px 0px 5px;
}
#contents_right .side_box .main {
    background-color: #FFFFFF;
    padding: 50px 10px 15px;
}
body a:link {
    color: #006699;
}
body a {
    color: #006699;
    text-decoration: none;
}
new_info .main .box{
    float:left;
    width:48%;
    margin-right:4%;
    margin-bottom:10px;
}
.new_info .main .box ul {
    padding-top: 10px;
}
.new_info .main .box.last_box {
    margin-bottom: 17px;
}

.new_info .main .box p.more {
    border-top: 1px dotted #CCCCCC;
    margin-top: 7px;
    padding-top: 10px;
}

.new_info .main .box:nth-child(2n){
    margin-right:0;
}
.new_info .main p.title2{
    font-weight:bold;
    font-size:11px;
}
.new_info .main .box.last_box p.title2{
    border-bottom:none;
}
.new_info .main p.title2 em{
    font-size:8px;
}
.main .dt {
    padding:20px 8px;
}
.main .dt .left {
    width:100%;
    text-align:center;
    padding-bottom: 10px;
}
.main .dt .left p img {
    height: auto;
    width: 80%;
    border: 1px solid #CCC;
}
.tb2{
    width:80%;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: inherit;
}
.tb2 td {
    width: auto;
    height: auto;
    background: #ffffff;
    border: 1px solid #CCC;
    text-align: center;
}
.tb2 td img{
    height: auto;
    width: auto;
    vertical-align: center;
}
.tb2 td.space {
    width: 5%;
    background: #ffffff;
    border: none;
}
.main .dt .right {
    width:auto;
}
.main .dt .right p img {
    border: none;
}
.main .dt .tr {
    padding-top: 5px;
    line-height:1.5em;
    width: 100%;
}
.main .dt .tr1 {
    margin-top: 10px;
    margin-left: 10px;
    width: 90%;
    background: #f0f0f0;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}
.main .dt .right .tr .td,
.main .dt .right .tr .td1,
.main .dt .right .tr .td2 {
    border-bottom: 1px dotted #CCCCCC;
    width: 90%;
    margin-left: 10px;
}
.main .dt .right .tr .td2 {
    padding-top: 4px;
}
.main .dt .right p.btn_pdf{
    position: absolute;
    right: 15px;
    padding-top: 0px;
    width: auto;
    height: auto;
}
.main .dt .right p.title{
    background-image:none;
    font-size:14px;
    font-weight:bold;
    
}
.main .dt .right .td p.body{
    background-image:none;
    font-size:14px;
    
}
.list_search .left .tr .td{
    padding: 10px 0 10px 0;
    border-bottom: 1px dotted #CCCCCC;
    line-height: 1.6em;
    letter-spacing: -0.2px;
}
.list_search .left .tr .td .title,
.list_search .left .tr .td .body {
    font-size: 14px;
}
.list_search .left .tr .td .cate {
    padding-top: 5px;
}
#img_list {
    width: 200px;
    padding-left: auto;
    padding-right: auto;
}

}